package com.szrt.day20170411.ch04;


import static org.junit.Assert.*;

import org.junit.Test;

public class PersonTest {
	
	
	@Test
	public void test() throws Exception {
		
		//String idCard, String name, int age, char sex
		Person hxq = new Person("1001001","何小强",28,'男');
		Person jzh = new Person("1001002","靳志辉",25,'男');
		
		hxq.learn("三字经");
		jzh.learn("abc");
		
		System.out.println(hxq.info());
		
		
		
		
	}
	
	
	@Test
	public void test02() throws Exception {
		
		Person hxq = new Person("1001001","何小强",28,'男');
		
		int sum = hxq.add3(1, 2, 3);
		System.out.println(sum);
	}

}
